package org.packtracker.server.model;

import java.util.Date;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class PersistentDate {

	@PrimaryKey
    @Persistent
    private Long id;
    
	@Persistent
    private Date lastCheckedDate;

	
	
	public PersistentDate(Date lastCheckedDate) {
		super();
		id = new Long(1);
		this.lastCheckedDate = lastCheckedDate;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getLastCheckedDate() {
		return lastCheckedDate;
	}

	public void setLastCheckedDate(Date lastCheckedDate) {
		this.lastCheckedDate = lastCheckedDate;
	}
}
